package com.hava.demo.springmvc.api;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by zhanpeng on 15-3-16.
 */
@Controller
@RequestMapping(value = "/api/demo")
public class DemoApiController {
    @RequestMapping(method = RequestMethod.GET)
    public String list() {
        return "demo/api/list";
    }
}